import 'package:dio/dio.dart';

abstract class HttpConfig {
  /// base url
  String baseUrl();

  /// 请求头
  Map<String, dynamic>? headers();

  /// 超时时间
  Duration get timeout => const Duration(seconds: 30);
  
  /// 拦截器
  List<Interceptor>? get interceptors => null;
}
